package dream

func NewHttpPool(c interface{}, max uint32) IPool {
	p := NewPool(func(c interface{}) interface{} {
		return &sHttp{}
	}, c, 0xffffffff)
	return p
}

type IHttp interface {
	Get(url string) string
}

type sHttp struct {
}
